﻿using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.Extensions.DependencyInjection;
using Qy.Scenario;

namespace Qy.Web.Authorize;

public abstract class WebRazorPage<TModel> : RazorPage<TModel>
{
    public ConfigService SystemConfig
    {
        get
        {
            return ViewContext.HttpContext.RequestServices.GetService<ConfigService>();
        }
    }
}
